package com.yan.common.file.mapper;

import java.util.HashMap;
import java.util.List;

public interface FileMapper {

	List<HashMap<String, Object>> queryFileList(HashMap<String, Object> params);

	Integer queryFileCount(HashMap<String, Object> params);

	Integer insertFile(HashMap<String, Object> params);
	
	Integer updateFile(HashMap<String, Object> params);

	Integer deleteFile(HashMap<String, Object> params);

	List<HashMap<String, Object>> queryRightFileList(HashMap<String, Object> params);

	Integer queryRightFileCount(HashMap<String, Object> params);

	List<HashMap> queryRightUsers(HashMap<String, Object> params);

	void deleteRightUsers(HashMap<String, Object> params);

	void updateRightUsers(HashMap<String, Object> params);

	void insertUserFile(HashMap<String, Object> params);

	List<HashMap> queryCheckedUsers(HashMap<String, Object> params);

}
